const express = require('express');
const e = require("express");
const history = require('connect-history-api-fallback');
const app = express();
app.use(history());
//解决刷新404的问题
app.use(express.static(__dirname + '/static'));

app.listen(3000,(error) => {
    if (!error) console.log('服务器已启动 3000端口正在监听...');
})